using System;

namespace EFCoreEnterpriseDemo.Attributes
{
    [AttributeUsage(AttributeTargets.Property)]
    public class FieldPermissionAttribute : Attribute
    {
        public string PermissionKey { get; set; }
        public FieldPermissionAttribute(string permissionKey) => PermissionKey = permissionKey;
    }
}